package com.vast.service;

import com.vast.entity.RepaymentEntity;

import java.util.List;
import java.util.Map;

public interface RepaymentService {
    List<RepaymentEntity> getByBorrowId(Integer borrowId,Integer states);

    List<RepaymentEntity> saveBuFen(Map<String, Object> map);

    void updateStatesByRepayId(Integer repayId,Integer overdue,Integer borrowId);

    void updateByBorrowId(Integer borrowId, Integer states);

    List<RepaymentEntity> getUserByBorrowId(String userId);
}
